//
//  HCCellViewModel.m
//  EnvironmentalProtection
//
//  Created by HCreater on 2018/6/7.
//  Copyright © 2018年 HCreater. All rights reserved.
//

#import "HCCellViewModel.h"

@implementation HCCellViewModel

- (instancetype)initWithData:(NSDictionary *)data cellHeight:(CGFloat)cellHeight
{
    self = [super init];
    if (self)
    {
        _buildData = data;
        
        /// cellHeight+2（2容错）
        _cellHeight = MHUIScaleValue(cellHeight)+2;
    }
    
    return self;
}

@end
